<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;
class AdminRoleMenuMRelation extends Model
{
    //
    protected $table = 'admin_role_menu_m_relation';
    public $timestamps = 'Y-m-d H:i:s';

    protected $fillable = [
        'role_id', 'menu_id'
    ];
    public function menuinfo(){
        return $this->belongsTo('App\Model\AdminRoleMenuM','menu_id','id');
    }
}
